package com.freework.buildercode.mydbm;

import java.util.List;

public class MyPage extends Page {
int winHeight=0;
int winWidth=0;
String poname=null;
String packagePath=null;




public String getPackagePath() {
	return packagePath;
}
public void setPackagePath(String packagePath) {
	this.packagePath = packagePath;
}
public String getPoname() {
	
	return poname;
}
public void setPoname(String poname) {
	this.poname = poname;
}
public MyPage(String tablename, String title, List datas, int winHeight,
		int winWidth) {
	super(tablename, title, datas);
	this.winHeight = winHeight;
	this.winWidth = winWidth;
	poname=tablename.substring(0,1).toUpperCase()+tablename.substring(1);
	int index=-1;
	while((index=poname.indexOf("_"))!=-1){
		System.out.println(poname.substring(index+2));
		poname=poname.substring(0,index)+poname.substring(index+1,index+2).toUpperCase()+poname.substring(index+2);
		
	}}
public int getWinHeight() {
	return winHeight;
}
public void setWinHeight(int winHeight) {
	this.winHeight = winHeight;
}
public int getWinWidth() {
	return winWidth;
}
public void setWinWidth(int winWidth) {
	this.winWidth = winWidth;
}
	
	
}
